package com.dkd.music.domain;

import com.dkd.common.annotation.Excel;
import com.dkd.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 音乐种类对象 t_genre
 * 
 * @author grz
 * @date 2025-10-25
 */
public class Genre extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 种类ID */
    private Long genreId;

    /** 种类名称 */
    @Excel(name = "种类名称")
    private String name;

    public void setGenreId(Long genreId) 
    {
        this.genreId = genreId;
    }

    public Long getGenreId() 
    {
        return genreId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("genreId", getGenreId())
            .append("name", getName())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
